package tools;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class createConnection {
	public static Connection connect() {
		Connection connection = null; 
		try {
			Class.forName("com.mysql.jdbc.Driver");
			connection = DriverManager
					.getConnection("jdbc:mysql://win9142.informatik.uni-wuerzburg.de:3306?user=awesomefireballs&password=jesus");

		} catch (ClassNotFoundException e) {

			e.printStackTrace();
		} catch (SQLException e) {

			e.printStackTrace();
			
		}

		return connection;
	}
}
